###################################
#
# This is the replication archive for:
#
# "Widowhood Effects in Voter Participation"
# AJPS
#
# Version 1.0, April 2013
#
###################################


Files:

## Produce the data set
WidAna_Format.sh

## Produce treatment effect estimates (and covariate summaries) for plots
CEM_ATET_Code--Widowhood_Effects_in_Voter_Participation--WEEKS.R
- This produces the main results in the time from death analyses (the output is accessed in the Rplots script).

CEM_ATET_Code--Widowhood_Effects_in_Voter_Participation--AGES.R
- This produces the results in the age analyses (the output is accessed in the Rplots script).

CEM_ATET_Code--Widowhood_Effects_in_Voter_Participation--STATS.R
- This produces the output for long table in the appendix (the output is formatted for use in emacs org-mode).

## Create plots
Rplots--Widowhood_Effects_in_Voter_Participation.R
- This produces the results published in the paper (once the other scripts have completed).


Folder structure:

All R scripts except for summary_scripts (called from these)
--plots
--output
--summary_scripts


Software:

Bash and associated command line utilities (e.g. cut, paste)
GNU awk and sed
R


Hardware:
16-32 gb memory (for storing ID hashes during within and across data set linking, and finding matches in R CEM scripts)
20-30 gb free disk space (for temporary files in the formatting script)


Email whobbs@ucsd.edu for updated formatting scripts.
